package Exercise1109;

public class Q38_Book2 {
	
	  // title, allpage, writer
	
		//멤버 변수
		private String name;
		private String allpage;
		private String writer;
		
		//생성자
		public Q38_Book2(){}
		public Q38_Book2(String name, String allpage, String writer){
			this.name = name;
			this.allpage = allpage;
			this.writer = writer;
		}
		
		//getter setter method
		
		public void setName(String name){this.name = name;}
		public void setAllpage(String allpage){this.allpage = allpage;}
		public void setWriter(String writer){this.writer = writer;}
		
		public String getName(){return name;}
		public String getAllpage(){return allpage;}
		public String getWriter(){return writer;}
	}


